package com.example.myapplication;

import android.graphics.Bitmap;

public class Video {
    private String name;
    private long size;
    private long duration;
    private String path;




    public Bitmap getBitmap() {
        return bitmap;
    }

    public void setBitmap(Bitmap bitmap) {
        this.bitmap = bitmap;
    }

    private Bitmap bitmap;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public long getDuration() {
        return duration;
    }

    public void setDuration(long duration) {
        this.duration = duration;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Video(String name, long size, long duration, String path) {
        this.name = name;
        this.size = size;
        this.duration = duration;
        this.path = path;
        this.bitmap = bitmap;
    }

    @Override
    public String toString() {
        return "Video{" +
                "name='" + name + '\'' +
                ", size=" + size +
                ", duration=" + duration +
                ", path='" + path + '\'' +
                ", path='" + bitmap + '\'' +
                '}';
    }
}
